extends Node

var player_1_score = 0
var player_2_score = 0
@onready var label: Label = $CanvasLayer/Control/Label


func _on_wall_score_add(index: Variant) -> void:
	player_2_score += 1
	label.text = "%s:%s"%[player_1_score,player_2_score]


func _on_wall_2_score_add(index: Variant) -> void:
	player_1_score += 1
	label.text = "%s:%s"%[player_1_score,player_2_score]
